package com.sc.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.annotatoin.Sql;
import org.beetl.sql.core.mapper.BaseMapper;

import com.sc.model.ShopCart;

public interface ShopCartDao extends BaseMapper<ShopCart> {

	@Sql(value = "select * from shop_cart sc where sc.order_id = ? and sc.is_delete = 1")
	List<ShopCart> getByOrderId(String orderId);
	
	List<ShopCart> getByIds(@Param("shopCartIds") String[] shopCartIds);
	
}
